Ext.define("App.user.vacation.view.VacationEditor", {
    extend: 'Extend.window.EditWindow',
    alias: 'widget.VacationEditor',
    config: {
        entity: 'entity',
        defaults: {
            columnWidth: 1
        },
        window: {
            title: '请假申请',
            width: 800,
            height: 500,
            resizable: false
        }
    },
    items: [{
        xtype: 'hidden',
        name: 'id'
    }, {
        xtype: 'numberfield',
        name: 'days',
        fieldLabel: '请假时长',
        allowBlank: false,
        blankText: '请假时长为必填字段，不能为！',
        beforeLabelTextTpl: ['<span style="color:red;">*</span>']
    }]
})
